package com.building18.service;
import com.building18.pojo.Building;
import org.springframework.stereotype.Service;

import java.util.List;
public interface BuildingService {
   List<Building> selectBuilding();

    Integer deleteBuildingById(Integer id);

    Integer addBuilding(Building building);


    Integer updateBuilding(Building building);

    List<Building> selectBuildingByName(String name);

    Integer countHouseByBuildingId(Integer id);

    Integer deleteBuildingByIds(List<Integer> ids);

    List<Building> selectBuildingIdAndName();

}
